<!--
**********************************************************
* @Author: 张小平
* @Date:   2024-05-01
* @Email:  qqshuqian@163.com
* @Last modified: 最后修改日期
* @Description: 文件描述
**********************************************************
-->
<template>
  <div class="branch-box" :class="{'start-node': isStart}">
    <slot />
  </div>
</template>

<script>
export default {
  props: {
    isStart: {
      type: Boolean,
      default: false
    }
  }
}
</script>

<style lang="scss" scoped>
@mixin layCenter {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.branch-box {
  width: 100%;
  @include layCenter;
  border-bottom: 2px solid #CACACA;
  border-top: 2px solid #CACACA;
  position: relative;
}
</style>
